package com.bocim.course.meta;

import java.util.Date;

/**
 * Created by liujunchen on 2016/11/8.
 */
public class Product {
    public   int  id ;
    public  String title  ;
    public  String summary  ;
    public  String detail ;
    public  String   image ;
    public  double price  ;
    public  int  amount  ;
    public  int remain;
    public  int publishUserId    ;
    public int   isBuy;
    public int  isSell;
    public    double   buyPrice ;
    private Date   buyTime  ;

    public double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public Date getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(Date buyTime) {
        this.buyTime = buyTime;
    }

    public int getIsBuy() {
        return isBuy;

    }

    public void setIsBuy(int isBuy) {
        this.isBuy = isBuy;
    }

    public int getIsSell() {
        return isSell;
    }

    public void setIsSell(int isSell) {
        this.isSell = isSell;
    }

    public int getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(int publishUserId) {
        this.publishUserId = publishUserId;
    }

    public int getRemain() {

        return remain;
    }

    public void setRemain(int remain) {
        this.remain = remain;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
